package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_DUTY_SCHEDULE_GROUP_RECORD")
@ApiModel(value = "群组排班记录表")
@Accessors(chain = true)
public class DutyScheduleGroupRecord extends BaseEntity {

    @ApiModelProperty( value="总排班ID，关联总排班表DUTY_SCHEDULE_SET_CUSTOM主键ID")
    @TableField( value ="SET_CUSTOM_ID")
    @JsonProperty( value = "setCustomId")
    private String setCustomId;

    @ApiModelProperty( value="关区ID")
    @TableField( value ="CUSTOM_ID")
    @JsonProperty( value = "customId")
    private String customId;

    @ApiModelProperty( value="值班类型：1.日常班；2.节假日；3.重要日；4.周末班")
    @TableField( value ="SCHEDULE_TYPE")
    @JsonProperty( value = "dutyType")
    private String DutyType;

    @ApiModelProperty( value="排班配置类型：1.带班关领导；2.带班处领导；3.值班；4.署领导；5.司局领导；6.处领导；7.主值班员；8.副值班员")
    @TableField( value ="SE_TYPE")
    @JsonProperty( value = "seType")
    private String seType;

    @ApiModelProperty( value="该类型最终人员名")
    @TableField( value ="LAST_PERSON_NAME")
    @JsonProperty( value = "lastPersonName")
    private String lastPersonName;

    @ApiModelProperty( value="该类型最终人员工号")
    @TableField( value ="LAST_PERSON_NO")
    @JsonProperty( value = "lastPersonNo")
    private String lastPersonNo;

    @ApiModelProperty( value="该类型最终人员序号")
    @TableField( value ="LAST_PERSON_SORT")
    @JsonProperty( value = "lastPersonSort")
    private String lastPersonSort;


    @ApiModelProperty( value="排序后最后一位人员名")
    @TableField( value ="FINAL_PERSON_NAME")
    @JsonProperty( value = "finalPersonName")
    private String finalPersonName;


    @ApiModelProperty( value="排序后最后一位人员工号")
    @TableField( value ="FINAL_PERSON_NO")
    @JsonProperty( value = "finalPersonNo")
    private String finalPersonNo;


    @ApiModelProperty( value="排序后最后一位人员sort")
    @TableField( value ="FINAL_PERSON_SORT")
    @JsonProperty( value = "finalPersonSort")
    private String finalPersonSort;



}
